import eventBus from '@/libs/eventBus'
// 定义一个混入对象
const renderMixin = {
  mounted () {
    eventBus.type('rerender')('render', () => {
      this.key = Date.now() + ''
    })
  }
}

export default renderMixin
